package com.gljx.web.dao;

import com.gljx.web.Entity.SimulationQuarge;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface SimulationQuargeMapper {
    int deleteByPrimaryKey(String fid);

    int insert(SimulationQuarge record);

    int insertSelective(SimulationQuarge record);

    SimulationQuarge selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(SimulationQuarge record);

    int updateByPrimaryKey(SimulationQuarge record);

    SimulationQuarge selectSimulationQuargeByFid(String fid);

    /**
     * 查找最大编码
     * @return
     */
    String selectFnumber(String companyId);

    List<SimulationQuarge> selectSimulationQuarge(Map<String,String> map);
}